package cn.com.dhcc.ddi.usermgr.dao;


import org.springframework.stereotype.Repository;
import cn.com.dhcc.app.core.dao.BaseDao;
import cn.com.dhcc.app.core.exception.DaoException;
import cn.com.dhcc.app.core.pubmodule.sysmgr.usermgr.vo.UserInfoVo;

/**
 * 
    * @ClassName: UserInfoDao
    * @Description: 用户管理dao
    * @author dxy
    * @date 2017-3-28
    *
 */
@Repository
public class UserInfoDao extends BaseDao {
	
	/**
     * 修改
     * @param obj
     * @return
     * @throws DaoException
     */
    public int userNodeConfigure(UserInfoVo user) throws DaoException {
        return getDao().updateModuleByIdExecuteNull("配置",user);
    }
    
    /**
     * 
        * @Title: get
        * @Description: 获取对象
        * @param @param id
        * @param @return
        * @param @throws DaoException    参数
        * @return UserInfoVo    返回类型
        * @throws
     */
     public UserInfoVo get(String id) throws DaoException {
        return getDao().getModuleById("获取对象",UserInfoVo.class,new Object[]{id});
     }

}
